{"version":3,"sources":["checkbox_field.js"],"names":["BX","namespace","addClass","Landing","Utils","isArray","isPlainObject","isFunction","create","random","escapeHtml","append","slice","encodeDataValue","decodeDataValue","isNumber","isBoolean","data","clone","UI","Field","Checkbox","options","BaseField","apply","this","arguments","layout","onChangeHandler","onChange","items","value","depth","compact","multiple","map","filter","item","checked","content","forEach","addItem","prototype","constructor","__proto__","itemOptions","itemId","props","className","disabled","children","attrs","id","type","find","itemVal","undefined","events","change","onItemChange","bind","for","title","Text","encode","name","html","input","onValueChangeHandler","emit","isChanged","sort","getValue","JSON","stringify","setValue","element","querySelector","currentValue","values","length"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBAEb,IAAIC,EAAWF,GAAGG,QAAQC,MAAMF,SAChC,IAAIG,EAAUL,GAAGG,QAAQC,MAAMC,QAC/B,IAAIC,EAAgBN,GAAGG,QAAQC,MAAME,cACrC,IAAIC,EAAaP,GAAGG,QAAQC,MAAMG,WAClC,IAAIC,EAASR,GAAGG,QAAQC,MAAMI,OAC9B,IAAIC,EAAST,GAAGG,QAAQC,MAAMK,OAC9B,IAAIC,EAAaV,GAAGG,QAAQC,MAAMM,WAClC,IAAIC,EAASX,GAAGG,QAAQC,MAAMO,OAC9B,IAAIC,EAAQZ,GAAGG,QAAQC,MAAMQ,MAC7B,IAAIC,EAAkBb,GAAGG,QAAQC,MAAMS,gBACvC,IAAIC,EAAkBd,GAAGG,QAAQC,MAAMU,gBACvC,IAAIC,EAAWf,GAAGG,QAAQC,MAAMW,SAChC,IAAIC,EAAYhB,GAAGG,QAAQC,MAAMY,UACjC,IAAIC,EAAOjB,GAAGG,QAAQC,MAAMa,KAC5B,IAAIC,EAAQlB,GAAGG,QAAQC,MAAMc,MAS7BlB,GAAGG,QAAQgB,GAAGC,MAAMC,SAAW,SAASC,GAEvCtB,GAAGG,QAAQgB,GAAGC,MAAMG,UAAUC,MAAMC,KAAMC,WAC1CxB,EAASuB,KAAKE,OAAQ,6BAEtBF,KAAKG,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